#include"stack_queue.h"
#include<stack>
#include<queue>
void stack_test1()
{
	hu::stack<int> st;
	st.push(1);
	st.push(3);
	st.push(5);
	st.push(7);
	st.push(8);
	st.push(9);
	hu::stack<int> sst;
	sst.push(0);
	sst = st;
	while (!sst.empty())
	{
		cout << sst.top() << endl;
		cout << sst.size() << endl;
		sst.pop();
		cout << endl;
	}
}

void queue_test2()
{
	hu::queue<int> Q;

	hu::queue<int> Q2;
	Q2.push(10000);
	Q.push(6);
	Q.push(9);
	Q.push(6);
	Q.push(4);
	Q.push(5);
	Q.push(2);
	while (!Q.empty())
	{
		cout << ++Q.front() << ":" << Q.back() << endl;
		Q.pop();
		cout << endl;
	}
}
int main()
{
	stack_test1();
	//queue_test2();
	return 0;
}